<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<form th:action="@{/user/update}" method="post">
    <input type="hidden" name="id" th:value="${etc.id}">
    车牌号：<input type="text" name="card" th:value="${etc.card}"/><br/>
    etc卡号：<input type="text" name="etcCard" th:value="${etc.etcCard}"/><br>
    余额：<input type="text" name="money" th:value="${etc.money}"/><br/>
    用户名：<input type="text" readonly="readonly" name="name" th:value="${etc.name}"/><br/>
    使用年限:<input type="text" name="year" th:value="${etc.year}"><br>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>